﻿namespace AuthServer.Data
{
    /// <summary>
    /// 用户信息
    /// </summary>
    public class UserInfo
    {
        /// <summary>
        /// 用户编号
        /// </summary>
        public int? UserId { get; set; }

        /// <summary>
        /// 钉钉ID
        /// </summary>
        public string? DingId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }

        /// <summary>
        /// 登录名
        /// </summary>
        public string? LoginName { get; set; }

        /// <summary>
        /// 所属部门
        /// </summary>
        public string? DepartmentName { get; set; }

        /// <summary>
        /// Token
        /// </summary>
        public string? AccessToken { get; set; }

        /// <summary>
        /// Token
        /// </summary>
        public string? UserRole { get; set; }
    }
}
